package com.fdb.efp.loan.service.facade;

import com.fdb.efp.loan.service.vo.SyncRepayDetailDiffLogVO;

import java.util.List;

/**
 * Service Interface: 还款明细差异表
 *
 * @author gcb
 * @date 2020-04-27
 */
public interface SyncRepayDetailDiffLogService {
    /**
     * 新增数据
     *
     * @param syncRepayDetailDiffLogVO
     * @return
     */
    int insert(SyncRepayDetailDiffLogVO syncRepayDetailDiffLogVO);

    /**
     * 根据主键删除信息
     *
     * @param syncRepayDetailDiffLogVO
     * @return
     */
    int deleteByPk(SyncRepayDetailDiffLogVO syncRepayDetailDiffLogVO);

    /**
     * 根据主键更新信息
     *
     * @param syncRepayDetailDiffLogVO
     * @return
     */
    int updateByPk(SyncRepayDetailDiffLogVO syncRepayDetailDiffLogVO);

    /**
     * 根据主键查询详情
     *
     * @param syncRepayDetailDiffLogVO
     * @return
     */
    SyncRepayDetailDiffLogVO queryByPk(SyncRepayDetailDiffLogVO syncRepayDetailDiffLogVO);

    int batchInsert(List<SyncRepayDetailDiffLogVO> list) throws Exception;
}